Sphinx Chinese Getting Started Guide wuhuiming
1. Introduction
What is 1.1.Sphinx?
Features of the 1.2.Sphinx
1.3.Sphinx Chinese participle
2. Installation Configuration Example
2.1
Sphinx-for-chinese use method will use Sphinx-for-chinese-2.2.1-dev-r4311-win32 as an example, currently I only find the latest is this version released in 2013.11.09.: http://sphinxsearchcn.github.io/After downloading, extract the following
This is a half year ago did not write the article, now take out to share under. There may be some incorrect or inaccurate places, some languages may be more frivolous, please forgive me.
For an example of the above email data
these days the project needs to do a new full-text search function on goods, so thought of using Sphinx, because the need for Chinese participle, so chose Sphinx for Chinese, of course, you can also choose Coreseek, suggest that these two choose one,
Sphinx1 Downloads Sphinxhttp://sphinxsearch.com/2 compiling the installationTAR-ZXVF sphinx.tar.gz./configure--prefix=/usr/local/sphinx--with-mysql=/usr/local/mysql make && make installImportant Three commands in Sphinx (Sphinx installed bin
Data table:
CREATE TABLE Email (
emailid mediumint (8) unsigned not NULL auto_increment COMMENT ' mail id ',
fromid Int (a) unsigned Not null default ' 0 ' COMMENT ' Sender ID ',
toid Int (a) unsigned NOT null default ' 0 ' COMMENT ' recipient id ',
Install and configure the application in Sphinx
Sphoff is a full-text search engine developed by Russian Andrew Aksyonoff. It is intended to provide other applications with full-text search functions featuring high speed, space occupation, and high
Install and basic settings of sphinxWhat is sphinx? If you still don't know, put it on your dog...A simple reference to the official Wiki article:
Sphinx is an SQL-based full-text search engine that can be used in combination with MySQL and
Phpcms sphinx full-text index tutorialEnglish introduction: http://www.sphinxsearch.com/docs/manual-0.9.9.html1. First install sphinx on the serverInstall sphinx on Windows1. Download package
One, software preparation
coreseek4.1 (includes the latest version of Coreseek Beta and mmseg, and test packages "built-in Chinese word segmentation and search, Word segmentation, MySQL data source, Python
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.